package com.crishne.anwo.service;
 
import java.util.HashMap;
import java.util.List;

import com.crishne.anwo.model.Menu;
import com.crishne.anwo.model.User;
import com.crishne.anwo.utill.PaginationUtil;
 
 
public interface UserService {
 
    public void addUser(User user);
    
    public void updateUser(User user);
    
    public void deleteUser(String stUserId);
    
    public User getUserById(String stUserId);
    
    public User getUserByName(String stUserName);
    
    public List<User> findUsers(String searchCondition);
    
    public PaginationUtil<User> searchUsers(PaginationUtil<User> pageConditions);
    
    public User checkUser(String stUserName, String stPwd);
    
    @SuppressWarnings("rawtypes")
	public List<HashMap> findRecords(String sql);
}